home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
gsdb21.arc
/
DB_XPL05.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-01-04
|
480b
|
26 lines
program DB_Xpl05;
uses
CRT,
DOS,
GS_KeyI,
GS_dBFld,
GS_dBase;
var
Health : GS_dBFld_Objt;
begin
ClrScr;
Health.Init('HEALTH');
Health.Open;
Health.Index('FOODNAME');
Health.GetRec(Top_Record);
while (Health.FieldDisplayScreen) and (not Health.File_EOF) do
begin
if GS_KeyI_Chr = Kbd_PgUp then
Health.GetRec(Prev_Record)
else
Health.GetRec(Next_Record);
end;
Health.Close;
end.